From 5e0b9b64fa6e71331f8c43c2c30587d5293be7e3 Mon Sep 17 00:00:00 2001 From: justbur Date: Thu, 3 Mar 2016 16:41:31 -0500 Subject: [PATCH] Fix bug when show-prefix is left and there is one line Fixes #104 --- which-key.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/which-key.el b/which-key.el index 12e4d1b82c8..ab0713daafd 100644 --- a/which-key.el +++ b/which-key.el @@ -1677,7 +1677,7 @@ including prefix arguments." (make-string first-col-width 32))) lines first-line new-end) (if (= 1 height) - (concat prefix page) + (cons (concat prefix page) nil) (setq lines (split-string page "\n") first-line (concat prefix (car lines) "\n" page-cnt) new-end (concat "\n" (make-string first-col-width 32))) -- 2.30.2